"""
@Project:project11
@File:serializers.py
@Author:田诚
@Date:18:01
"""

from myapp.models import Kind,Books,Png
from rest_framework import serializers

class KindSer(serializers.ModelSerializer):
    class Meta:
        model = Kind
        fields = '__all__'


class BooksSer(serializers.ModelSerializer):
    class Meta:
        model = Books
        fields = '__all__'


class PngSer(serializers.ModelSerializer):
    class Meta:
        model = Png
        fields = '__all__'



